package com.lugea.common.enums;

/**
 * @author enluw
 * @date 2020-01-27
 * @描述
 */
public enum EnumWebRepsonseCode implements BaseEnum {
    /**
     * 成功
     */
    SUCCESS(200, "成功"),

    /**
     * 系统内部错误
     */
    SYSTEM_ERROR(500, "系统内部错误");

    private int code;
    private String msg;

    EnumWebRepsonseCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    @Override
    public int getCode() {
        return 0;
    }
}
